package com.cskaoyan.model.vo;

import lombok.Data;

import java.util.List;

/**
 * @Author: mjm
 * @Date: 2021/11/30
 * @Time: 9:09
 * @Description:
 */
@Data
public class BaseData {
    Integer limit;
    List list;
    Integer page;
    Integer pages;
    Integer total;

    public static BaseData list(List list,long total) {
        BaseData data = new BaseData();
        data.setList(list);
        data.setTotal((int) total);
        return data;
    }
}
